<form class="layui-form pt10" action="{:url()}" method="post" id="editForm">
    <div class="layui-form-item">
        <label class="layui-form-label">门店名称</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-name" name="name" lay-verify="title" autocomplete="off" placeholder="请输入门店名称">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系电话</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-phone" name="phone" value="" lay-verify="number" autocomplete="off" placeholder="请输入联系电话">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">创店时间</label>
        <div class="layui-input-inline">
            <input type="text" id='date' class="layui-input field-create_date" name="create_date" lay-verify="" autocomplete="off" placeholder="请输入创店时间">
        </div>

    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">店铺地址</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input field-address" name="address" value="" lay-verify="" autocomplete="off" placeholder="请输入店铺地址">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <input type="hidden" class="field-id" name="id">
            <input type="hidden" class="field-status" name="status" value="1">
        </div>
    </div>
    <div class="pop-bottom-bar hisi-footer">
        <button type="submit" class="layui-btn layui-btn-normal" lay-submit="" lay-filter="formSubmit" hisi-data="{pop: true, refresh: true}">提交保存</button>
        <a href="javascript:parent.layui.layer.closeAll();" class="layui-btn layui-btn-primary ml10">取消</a>
    </div>
</form>
{include file="system@block/layui" /}
<script>
layui.use(['func','laydate'], function() {
    //常规用法
    var laydate = layui.laydate;
    laydate.render({
          elem: '#date',
          trigger:'click'
        });

    layui.func.assign({:json_encode($formData)});


});
</script>
